package com.rlf.sf.legacymapping.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by huangfang on 9/18/2018.
 */
public class LegacyCategoryVo {

    private String legecyCategroyMessageKey;

    public List<PermissionVo> permissionVos = new ArrayList<> ();

    public String getLegecyCategroyMessageKey() {
        return legecyCategroyMessageKey;
    }

    public void setLegecyCategroyMessageKey(String legecyCategroyMessageKey) {
        this.legecyCategroyMessageKey = legecyCategroyMessageKey;
    }

    public List<PermissionVo> getPermissionVos() {
        return permissionVos;
    }

    public void setPermissionVos(List<PermissionVo> permissionVos) {
        this.permissionVos = permissionVos;
    }
    
    @Override
    public boolean equals(Object obj) {
    	LegacyCategoryVo that = (LegacyCategoryVo) obj;
    	return this.legecyCategroyMessageKey.equals(that.legecyCategroyMessageKey);
    }
}
